package com.sanben.tag.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.sanben.common.web.domain.BaseEntity;

/**
 * @author cyh
 * @description: 标签表实体类
 * @date: 2020-08-18
 */
@Data
@ApiModel(value = "Tag对象", description = "标签表")
@TableName("tag")
public class Tag extends BaseEntity {



  @ApiModelProperty(value = "主键")
  @TableId(value = "id", type = IdType.AUTO)
  private Integer id;


  @ApiModelProperty(value = "标签名")
  private String name;


  @ApiModelProperty(value = "排序")
  private Integer sort;


  @ApiModelProperty(value = "创建人")
  private Integer createId;


  @ApiModelProperty(value = "创建时间")
  private LocalDateTime createTime;


  @ApiModelProperty(value = "修改人")
  private Integer updateId;


  @ApiModelProperty(value = "修改时间")
  private LocalDateTime updateTime;


  @ApiModelProperty(value = "是否删除，0：未删除 1：已删除")
  private Integer delete;

}
